package cqrtplm.mapper;

import cqrtplm.entity.CodeStandardDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

@Repository
public interface CodeStandardMapper extends BaseMapper<CodeStandardDO> {

    @Select("select oid,fix,flow_code as flowCode,createstamp,updatestamp,modifystamp,updatecount,markfordelete,otype,name from rt_cod_standard where fix=#{fix}")
    CodeStandardDO selectCodeStandardByFix(@Param("fix") String fix);

}
